package com.wanlian.common;

import java.util.List;

public class UrlConfig {
    private String fileUploadPath;
    private String vcardUrlPath;
    private String vcardKey;
    private String vcardPassword;
    private String jpushUrlPath;
    private String jpushUrlAppKey;
    private String jpushUrlAppSerckey;
    private List<String> ignoreUrlList;
    private String yunpianSmsApiKey;
    private String strProduct;
    private String upgrade;
    private String upgradeone;
    private boolean bProduct;
    private String yunpianSmsEncoding;
    private String allowOrigin;
    private String noticeFilePath;
    private String noticeDirPath;

    public void transferBProduct() {
        if (this.strProduct.equals("1")) {
            this.setbProduct(true);
        } else {
            this.setbProduct(false);
        }
    }

    public String getYunpianSmsApiKey() {
        return yunpianSmsApiKey;
    }

    public void setYunpianSmsApiKey(String yunpianSmsApiKey) {
        this.yunpianSmsApiKey = yunpianSmsApiKey;
    }

    public List<String> getIgnoreUrlList() {
        return ignoreUrlList;
    }

    public void setIgnoreUrlList(List<String> ignoreUrlList) {
        this.ignoreUrlList = ignoreUrlList;
    }

    public String getFileUploadPath() {
        return fileUploadPath;
    }

    public void setFileUploadPath(String fileUploadPath) {
        this.fileUploadPath = fileUploadPath;
    }

    public String getVcardUrlPath() {
        return vcardUrlPath;
    }

    public void setVcardUrlPath(String vcardUrlPath) {
        this.vcardUrlPath = vcardUrlPath;
    }

    public String getVcardKey() {
        return vcardKey;
    }

    public void setVcardKey(String vcardKey) {
        this.vcardKey = vcardKey;
    }

    public String getVcardPassword() {
        return vcardPassword;
    }

    public void setVcardPassword(String vcardPassword) {
        this.vcardPassword = vcardPassword;
    }

    public String getJpushUrlPath() {
        return jpushUrlPath;
    }

    public void setJpushUrlPath(String jpushUrlPath) {
        this.jpushUrlPath = jpushUrlPath;
    }

    public String getJpushUrlAppKey() {
        return jpushUrlAppKey;
    }

    public void setJpushUrlAppKey(String jpushUrlAppKey) {
        this.jpushUrlAppKey = jpushUrlAppKey;
    }

    public String getJpushUrlAppSerckey() {
        return jpushUrlAppSerckey;
    }

    public void setJpushUrlAppSerckey(String jpushUrlAppSerckey) {
        this.jpushUrlAppSerckey = jpushUrlAppSerckey;
    }

    public String getStrProduct() {
        return strProduct;
    }

    public String getAllowOrigin() {
        return allowOrigin;
    }

    public void setAllowOrigin(String allowOrigin) {
        this.allowOrigin = allowOrigin;
    }

    public void setStrProduct(String strProduct) {
        this.strProduct = strProduct;
        this.transferBProduct();
    }

    public boolean isbProduct() {
        return bProduct;
    }

    public void setbProduct(boolean bProduct) {
        this.bProduct = bProduct;
    }

    public String getYunpianSmsEncoding() {
        return yunpianSmsEncoding;
    }

    public void setYunpianSmsEncoding(String yunpianSmsEncoding) {
        this.yunpianSmsEncoding = yunpianSmsEncoding;
    }

    public String getUpgrade() {
        return upgrade;
    }

    public void setUpgrade(String upgrade) {
        this.upgrade = upgrade;
    }

    public String getUpgradeone() {
        return upgradeone;
    }

    public void setUpgradeone(String upgradeone) {
        this.upgradeone = upgradeone;
    }

    public String getNoticeFilePath() {
        return noticeFilePath;
    }

    public void setNoticeFilePath(String noticeFilePath) {
        this.noticeFilePath = noticeFilePath;
    }

    public String getNoticeDirPath() {
        return noticeDirPath;
    }

    public void setNoticeDirPath(String noticeDirPath) {
        this.noticeDirPath = noticeDirPath;
    }
}
